dsh-api-usage:在 DSH Web 侧边栏查看 DeepSeek API 余额与用量

dsh-api-usage 是专为 DSH Web 开发的轻量级插件,旨在解决模型调用后余额、消费及用量需分别查询的痛点。该插件由 chenzhexii 维护,基于 MIT 许可证,在侧边栏底部提供常驻小部件,集中展示实时余额、今日消费(精确到分)、Tokens 用量、请求数及 24 小时消费柱状图。 其核心功能包括每 60 秒自动轮询余额、基于余额差值计算真实消费、手动刷新、一键跳转充值页面以及故障自动重试。数据状态持久化保存,并具备响应式界面和严格的环回地址路由保护。安装前需确保环境支持 dsh web、Node 20+ 及已配置 DeepSeek API Key,通过 dsh plugi

Read More
dsh-token-usage: Adding an LLM API Call Usage Statistics Panel to DSH

@wycto/dsh-token-usage is a DeepSeek Harness (DSH) plugin designed to address the challenge of quickly verifying sessions, statuses, token usage, and costs after model calls. By reading DSH session logs rather than intercepting requests, this plugin consolidates scattered API call information into a full-screen statistics panel. Core features include: multi-condition filtering by time, session ID, model, provider, and status code; a detailed table with 15 columns, supporting click-to-sort by column headers and quick filtering by session ID; grouped statistics by provider, model, status, and effort dimensions; and CSV export for secondary analysis. Cost display supports dual-currency estimation in USD and RMB, with a default exchange rate of 7.2, configurable via s

Read More
dsh-prompt-optimize: Prompt Optimization, Personalized Instructions, and Usage Cards for DSH Web

`dsh-prompt-optimize` is a DSH web plugin designed to address the issues of scattered functionalities in draft rewriting, long-term preference settings, long conversation navigation, and API usage viewing. The plugin offers four core features: firstly, prompt optimization, which utilizes the DeepSeek model to rewrite drafts with a preview-before-apply option; secondly, personalized custom instructions, allowing users to set and persistently save long-term preferences; thirdly, user question anchors, enabling quick navigation and scrolling to specific user messages in long conversations via anchors on the right side or top; and fourthly, a DeepSeek API floating usage card, which displays real-time spending and balance for the current key over today, yesterday, and the last seven days, with data calculated in GMT+8. The plugin is licensed under MIT, requires the DSH environment to operate, and supports installation and uninstallation via the `dsh plugin` command.

Read More